package com.showcai.dao;

import com.showcai.module.Product;

import java.util.List;
import java.util.Map;

public interface ProductMapper {


    int insertProduct(Product record);

    Product getProductByProductId(Long productId);
    Product getProductByTid(Long tid);
    Product getProduct(Map<String,String> map);

    List<Product> getProductList();

    int updateProductByPrimaryKeySelective(Product record);
    int updateByPrimaryKey(Product record);

    int updateProductById(Product record);
}